import React from 'react'
import App from '../App'
import {
    BrowserRouter as Router,
    Routes,
    Route,
} from "react-router-dom";
import Login from '../views/login/Login'
import Register from '../views/login/Register'
export default function Routers() {
    return (
        <div>
            <Router>
                <Routes>
                    <Route path="/*" element={<App />} />
                    <Route path="/login" element={<Login />} />
                    <Route path="/register" element={<Register />} />
                </Routes>
            </Router>
        </div>
    )
}
